curl --request POST \
--url https://api.getmaxim.ai/v1/log-repositories \
--header 'Content-Type: application/json' \
--header 'x-maxim-api-key: <api-key>' \
--data '
{
"name": "<string>",
"workspaceId": "<string>",
"description": "<string>",
"folderId": "<string>",
"customPricingStructureId": "<string>"
}
'{
"data": {
"id": "<string>",
"name": "<string>",
"workspaceId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"description": "<string>",
"folderId": "<string>",
"config": {},
"customPricingStructureId": "<string>"
}
}Create a new log repository
curl --request POST \
--url https://api.getmaxim.ai/v1/log-repositories \
--header 'Content-Type: application/json' \
--header 'x-maxim-api-key: <api-key>' \
--data '
{
"name": "<string>",
"workspaceId": "<string>",
"description": "<string>",
"folderId": "<string>",
"customPricingStructureId": "<string>"
}
'{
"data": {
"id": "<string>",
"name": "<string>",
"workspaceId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"description": "<string>",
"folderId": "<string>",
"config": {},
"customPricingStructureId": "<string>"
}
}API key for authentication
Name of the log repository
Unique identifier for the workspace
Optional description for the log repository
Optional ID of the folder to create the repository in
Optional custom pricing structure ID
Log repository created successfully
Show child attributes
Was this page helpful?